﻿using System;
using KPIS.GERP.GIMS.MODEL;
using System.Collections.Generic;
using KPIS.DBM;

namespace KPIS.GERP.GIMS.IDAL
{
    public interface IDALMasterContactBank
    {
        IList<MasterContactBankInfo> GetMasterContactBank();
        IList<MasterContactBankInfo> GetMasterContactBank(string record_status);
        MasterContactBankInfo GetMasterContactBank(int seq);
        IList<MasterContactBankInfo> GetMasterContactBankWithParent(int contact_seq);
        void Insert(MasterContactBankInfo info);
        void Insert(IList<MasterContactBankInfo> infoList, int contact_seq, IDBManager dbManagerTrans);
        void Update(MasterContactBankInfo info);
        void Delete(MasterContactBankInfo info);
        void DeleteAll(IList<MasterContactBankInfo> infoList);
        void DeleteFromDB(IList<MasterContactBankInfo> infoList);
        void Restore(IList<MasterContactBankInfo> infoList);
    }
}
